package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.LiveInfo;
import com.lianwei.hospital.module.entity.OpdInfo;
import com.lianwei.hospital.module.vo.LiveVO;
import com.lianwei.hospital.module.vo.OpdVO;
import com.lianwei.hospital.utils.PageUtil;

import java.util.List;

public interface OpdInfoService {
    OpdInfo selectByPrimaryKey(String uId) throws Exception;
    boolean insert(OpdInfo opdInfo) throws Exception;
    List<OpdInfo> selectAll() throws Exception;
    boolean deleteByPrimaryKey(String uId) throws Exception;
    boolean updateByPrimaryKey(OpdInfo opdInfo) throws Exception;
    /**
     * 按条件分页查询
     * @param query
     * @return
     * @throws Exception
     */
    PageUtil<OpdInfo> findPage(OpdVO query) throws Exception;
}
